#include "CApp.h"

void CApp::OnRender()
{
	for(unsigned int i = 0;i < CEntity::EntityList.size();i++) {
    if(!CEntity::EntityList[i]) continue;
 
    CEntity::EntityList[i]->OnRender(m_SDLDisplay);
}
	SDL_Flip(m_SDLDisplay);
}